/*
 * @Author: LVGRAPE
 * @LastEditors: LVGRAPE
 */
#ifndef __PWR_H__
#define __PWR_H__

#include "at32f421.h"
#include <stdbool.h>
void hardware_power_on(confirm_state newstate);
void hardware_5v_on(confirm_state newstate);
uint8_t hardware_is_pwrkey_trig(void); // 0: not trig, 1: trig
bool isPowerOn(void);
#endif

